package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_DUTY_LOG")
@ApiModel(value = "大屏-值班日志表")
public class ScreenDutyLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value = "展示标题")
    @TableField(value = "TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value = "接听电话次数")
    @TableField(value = "PHONE_COUNT")
    @JsonProperty(value = "phoneCount")
    private Integer phoneCount;

    @ApiModelProperty(value = "电话内容详情")
    @TableField(value = "PHONE_DETAIL")
    @JsonProperty(value = "phoneDetail")
    private String phoneDetail;

    @ApiModelProperty(value = "消息分发次数")
    @TableField(value = "DISTRIBUTE_COUNT")
    @JsonProperty(value = "distributeCount")
    private Integer distributeCount;

    @ApiModelProperty(value = "消息分发详情")
    @TableField(value = "DISTRIBUTE_DETAIL")
    @JsonProperty(value = "distributeDetail")
    private String distributeDetail;

    @ApiModelProperty(value = "文件数")
    @TableField(value = "FILE_COUNT")
    @JsonProperty(value = "fileCount")
    private Integer fileCount;

    @ApiModelProperty(value = "文件详情")
    @TableField(value = "FILE_DETAIL")
    @JsonProperty(value = "fileDetail")
    private String fileDetail;

    @ApiModelProperty(value = "消息数目")
    @TableField(value = "MESSAGE_COUNT")
    @JsonProperty(value = "messageCount")
    private Integer messageCount;

    @ApiModelProperty(value = "消息详情")
    @TableField(value = "MESSAGE_DETAIL")
    @JsonProperty(value = "messageDetail")
    private String messageDetail;

    @ApiModelProperty(value = "其他情况描述")
    @TableField(value = "OTHER_MATTER")
    @JsonProperty(value = "otherMatter")
    private String otherMatter;

    @ApiModelProperty(value = "处理情况")
    @TableField(value = "HAND_MATTER")
    @JsonProperty(value = "handMatter")
    private String handMatter;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "CHANGE_FLAG")
    @JsonProperty(value = "changeFlag")
    private Integer changeFlag;

    @ApiModelProperty(value = "数据状态")
    @TableField(value = "STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value = "提醒类别：0.黄；1.红；2.绿")
    @TableField(value = "NOTICE_TYPE")
    @JsonProperty(value = "noticeType")
    private String noticeType;

    @ApiModelProperty(value = "关联ID")
    @TableField(value = "RID")
    @JsonProperty(value = "rid")
    private String rid;

    @ApiModelProperty(value="主体内容")
    @TableField(value ="MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;
}
